package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人才变动申请对象 tal_change_apply
 *
 * @author zhusq
 * @date 2023-04-30
 */
@Data
public class TalChangeApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 人才名称 */
    @Excel(name = "人才名称")
    private String name;

    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态 */
    private Integer state;

    @Excel(name = "状态")
    @TableField(exist = false)
    private String stateDescribe ;

    /** 申请类型 */
    @Excel(name = "申请类型")
    private String resourceName;

    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long resourceId;

}
